package com.woniuxy.service;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entity.Housing;
import com.woniuxy.entity.Owner;
import com.woniuxy.util.PageData;

import java.util.List;

public interface HousingService {
    List<Housing> queryHouse();

    PageInfo<Housing> queryHouses(PageData<Housing> pageData);

    void addHouse(Housing housing);

    boolean batchDelHouse(List<Integer> ids);

    Housing queryHouseById(Integer id);

    void saveUpdateHouse(Housing housing);

    boolean delHouse(Integer id);
}
